<div class="form-group">
  <label class=" col-sm-2 control-label">
    #(jxrb.message('systemStaffInfo.staffName'))：
  </label>
  <div class="col-sm-9">
    <p class="form-control-static">#(systemstaffinfo.staff_name ??)</p>
    <input type="hidden" name="staffName" value="#(systemstaffinfo.staff_name ??)" id="staffName" />
    #if(action =="added")
    <input type="hidden" jtg="#(jxrb.message('systemStaffInfo.staffName'))" name="systemOrganizeStaff.staff_id" value="#(params[0] ??)" id="staffId" />
    #else if(action == "edited")
    <input type="hidden" jtg="#(jxrb.message('systemStaffInfo.staffName'))" name="systemOrganizeStaff.staff_id" value="#(systemorganizestaff.staff_id ??)" id="staffId" />
    #end
    <input type="hidden" name="systemOrganizeStaff.id" value="#(systemorganizestaff.id ??)" id="Id" />
  </div>
</div>
<div class="hr-line-dashed"></div>
      
<div class="form-group">
  <label class=" col-sm-2 control-label">
    #(jxrb.message("systemOrganizeStaff.organize"))：
  </label>
  <div class="col-sm-9">
    #if((action) == "added" || (action) == "edited")
    <input type="hidden" name="systemOrganizeStaff.organize_id" value="#(systemorganizestaff.organize_id ??)" id="organizeId" />
    <div class="row">
      <div class="col-lg-6">
        <div class="input-group">
          <input type="text" value="#(systemorganize.organize_name ??)" id="organize" class="form-control" 
                 jac_url="#(jxwebpath.item)service/organize/list/" jac_id="organizeId" />
          <div class="input-group-btn">
            <button type="button" class="btn btn-white dropdown-toggle" data-toggle="dropdown">
              <span class="caret"></span>
            </button>
            <ul class="dropdown-menu dropdown-menu-right" role="menu">
            </ul>
          </div> <!--input-group-btn-->
        </div> <!--input-group-->
      </div> <!--col-lg-6-->
    </div> <!--row-->
    #else
    <p class="form-control-static">#(systemorganize.organize_name ??)</p>
    #end
  </div>
</div>   
<!--组织-->

<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class=" col-sm-2 control-label">
    #(jxrb.message("systemOrganizeStaff.post"))：
  </label>
  <div class="col-sm-9">
    
    #if (action == "added")
    #include("postInfo.html")
    <div id="addPost">
      <div style="clear: both;"></div>
      <input type="button" value='#(jxrb.message("action.add.post"))' id="addPo" onclick="addPost();"/>
    </div>
    #else if (action == "edited")
    #include("postInfo.html")
    <div id="addPost">
      <div style="clear: both;"></div>
      <input type="button" value='#(jxrb.message("action.add.post"))' id="addPo" onclick="addPost();"/>
      #if (systemorganizestaff.dutyInfo ??)
        #for(po : systemorganizestaff.dutyInfo)
          <div id ="divPost_#(for.index)">
            <input type="text" name="postName" value="#(po.duty_name ??)" size="30" id="postInfo" disabled="disabled"/>
            <input type="hidden" name="postId" value="#(po.duty_id ??)" id="postId" />
            <input type="button" value="删除"  onclick="deletePost('#(for.index)');" />
          </div>
        #end
      #end
    </div>
    #else
      #if(systemorganizestaff.dutyInfo ??)
        #for(po : systemorganizestaff.dutyInfo)
          <div id ="divPost_#(for.index)">
            <input type="text" name="postName" value="#(po.duty_name ??)" size="30" id="postInfo" disabled="disabled"/>
            <input type="hidden" name="postId" value="#(po.duty_id ??)" id="postId" />
          </div>
        #end
      #end
    #end
  </div> 
</div>
<div class="hr-line-dashed"></div>
<!--生日-->

#include("../staffInfo/phone.html")
<!--电话-->

#include("../staffInfo/eMail.html")
<!--邮箱-->

#include("../staffInfo/IM.html")
<!--IM-->
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class=" col-sm-2 control-label">
    #(jxrb.message("systemOrganizeStaff.organizeViewNum"))：
  </label>
  <div class="col-sm-9"> 
    <input name="systemOrganizeStaff.view_num" type="text" value="#(systemOrganizeStaff.view_num ??)" class="form-control" id="viewNum"/>
  </div>
</div>